package com.bjtu.lms.action.user;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import java.util.Map;

/**
 * 
 * @author yilee
 */
public class LogoutAction extends ActionSupport {

	@Override
	public String execute() throws Exception {
		Map session = ActionContext.getContext().getSession();
		session.put("user", null);
		session.put("userType", null);
		return SUCCESS;
	}
}
